-
Notifications
You must be signed in to change notification settings - Fork 14.3k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
feat(HTTP Request Node): Add option to disable lowercase headers #10154
Merged
maspio
merged 1 commit into
master
from
node-1520-http-request-node-option-to-disable-lowercase-headers
Jul 29, 2024
Merged
feat(HTTP Request Node): Add option to disable lowercase headers #10154
maspio
merged 1 commit into
master
from
node-1520-http-request-node-option-to-disable-lowercase-headers
Jul 29, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🎉
ShireenMissi
approved these changes
Jul 26, 2024
1 flaky test on run #6167 ↗︎Details:
|
Test | Artifacts | |
---|---|---|
Execution > connections should be colored differently for pinned data > when executing a node |
Test Replay
Screenshots
Video
|
Review all test suite changes for PR #10154 ↗︎
✅ All Cypress E2E specs passed |
MiloradFilipovic
added a commit
that referenced
this pull request
Jul 29, 2024
* master: feat(HTTP Request Node): Add option to disable lowercase headers (#10154) feat: Recovery option for jsonParse helper (#10182) fix: Better error message when calling data transformation functions on a null value (#10210) refactor: Delete mistakenly commited node file (no-changelog) (#10213) refactor(editor): Add Infisical deprecation notice (#10191) feat(editor): Show new executions as `Queued` in the UI, until they actually start (#10204) refactor: Update Langchain modules & add Ollama tools support (#10208) feat(Sentiment Analysis Node): Implement Sentiment Analysis node (#10184) fix: Add original error message to messages, do not obfuscate if description provided in options (no-changelog) (#10202) fix(Google Sheets Node): Fix Google Sheet URL regex (#10195) fix(Google Sheets Node): Add column names row if sheet is empty (#10200) fix(Google Sheets Node): Do not insert row_number as a new column, do not checkForSchemaChanges in update operation (#10201) docs: Update credential urls (no-changelog) (#10193) fix(editor): Add back prompt requesting to save unsaved changes (no-changelog) (#10190) fix(HTTP Request Node): Resolve max pages expression (#10192)
cstuncsik
pushed a commit
that referenced
this pull request
Jul 31, 2024
Merged
Got released with |
cstuncsik
pushed a commit
that referenced
this pull request
Aug 1, 2024
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
Labels
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
The Http Request node is lowercasing all http header names. While http header names should be case-insensitive (see RFC 7230), sometimes n8n users are connecting to services that don't follow standards, e.g. only accepting "Username" header but not "username".
To support these scenarios, lets add an option "Lowercase Headers" that defaults to true
Related Linear tickets, Github issues, and Community forum posts
https://linear.app/n8n/issue/NODE-1520/http-request-node-option-to-disable-lowercase-headers